package com.wicket.okrapp.web.contorller;

import com.wicket.okrapp.biz.service.NullService;
import com.wicket.okrapp.biz.service.dto.req.*;
import com.wicket.okrapp.biz.service.dto.res.*;
import com.wicket.okrapp.common.ro.OkrResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ：
 * @date ：
 *
 *
 * @version 1.0
 */
@RestController
@RequestMapping("/app/null/")
public class NullController {

  @Autowired
  NullService nullService;
/**
   * D3-13更新目标自身仪表盘(公共)
   */
    @PostMapping("refreshTargetDashboardCom")
    public OkrResult<RefreshTargetDashboardComRespDto> refreshTargetDashboardCom(@RequestBody @Validated RefreshTargetDashboardComReqDto reqDTO){
    return OkrResult.success(nullService.refreshTargetDashboardCom(reqDTO));
    }
/**
   * D3查询当前目标内容信息详情(公共)
   */
    @PostMapping("queryCurrentTargetContentInfoDetailCom")
    public OkrResult<QueryCurrentTargetContentInfoDetailComRespDto> queryCurrentTargetContentInfoDetailCom(@RequestBody @Validated QueryCurrentTargetContentInfoDetailComReqDto reqDTO){
    return OkrResult.success(nullService.queryCurrentTargetContentInfoDetailCom(reqDTO));
    }
/**
   * D3执行处理末级指标父子状态及仪表盘(公共)
   */
    @PostMapping("implementDisposeLastObjectiveDashNodeStatusCom")
    public OkrResult<ImplementDisposeLastObjectiveDashNodeStatusComRespDto> implementDisposeLastObjectiveDashNodeStatusCom(@RequestBody @Validated ImplementDisposeLastObjectiveDashNodeStatusComReqDto reqDTO){
    return OkrResult.success(nullService.implementDisposeLastObjectiveDashNodeStatusCom(reqDTO));
    }
/**
   * D3更新方案开通记录授权使用类型状态(公共)
   */
    @PostMapping("refreshSchemeOpenRecordAuthUseTypeCom")
    public OkrResult<RefreshSchemeOpenRecordAuthUseTypeComRespDto> refreshSchemeOpenRecordAuthUseTypeCom(@RequestBody @Validated RefreshSchemeOpenRecordAuthUseTypeComReqDto reqDTO){
    return OkrResult.success(nullService.refreshSchemeOpenRecordAuthUseTypeCom(reqDTO));
    }
/**
   * D3执行分析目标内容操作超级管理场景(公共)
   */
    @PostMapping("implementAnalyseTargetContOperateSuperMgtSceneCom")
    public OkrResult<ImplementAnalyseTargetContOperateSuperMgtSceneComRespDto> implementAnalyseTargetContOperateSuperMgtSceneCom(@RequestBody @Validated ImplementAnalyseTargetContOperateSuperMgtSceneComReqDto reqDTO){
    return OkrResult.success(nullService.implementAnalyseTargetContOperateSuperMgtSceneCom(reqDTO));
    }
/**
   * D3统计工作周期成果数(公共)
   */
    @PostMapping("statisticsWorkCycleAchievementNumsCom")
    public OkrResult<StatisticsWorkCycleAchievementNumsComRespDto> statisticsWorkCycleAchievementNumsCom(@RequestBody @Validated StatisticsWorkCycleAchievementNumsComReqDto reqDTO){
    return OkrResult.success(nullService.statisticsWorkCycleAchievementNumsCom(reqDTO));
    }
/**
   * D3查询目标内容父或中周期详情(公共)
   */
    @PostMapping("queryTargetContParentOrMidCycleDetailCom")
    public OkrResult<QueryTargetContParentOrMidCycleDetailComRespDto> queryTargetContParentOrMidCycleDetailCom(@RequestBody @Validated QueryTargetContParentOrMidCycleDetailComReqDto reqDTO){
    return OkrResult.success(nullService.queryTargetContParentOrMidCycleDetailCom(reqDTO));
    }
}
